import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css'
import Utils from './utils'

import { Button, Swipe, SwipeItem, Lazyload, Badge, Sidebar, SidebarItem, Collapse, CollapseItem, Tab, Tabs, Card, Loading, Image as VanImage, Tag, Form, Field, Icon, Checkbox, CheckboxGroup, Stepper, SwipeCell, SubmitBar, AddressList, AddressEdit, Popup, Grid, GridItem, PullRefresh, List } from 'vant';

createApp(App).use(Button).use(Swipe).use(SwipeItem).use(Badge).use(Sidebar).use(SidebarItem).use(Collapse).use(CollapseItem).use(Tab).use(Tabs).use(Card).use(Loading).use(VanImage).use(Tag).use(Form).use(Field).use(Icon).use(Checkbox).use(CheckboxGroup).use(Stepper).use(SwipeCell).use(SubmitBar).use(AddressList).use(AddressEdit).use(Popup).use(Grid).use(GridItem).use(PullRefresh).use(List).use(Lazyload, {
    loading: require('./assets/images/user.png')
}).use(store).use(router).mount('#app');

Utils.rewriteLog();
